home *** CD-ROM | disk | FTP | other *** search
/ Maclife 13 / MACLIFE13-No-93-1996.ISO.7z / MACLIFE13-No-93.ISO / Selection / OMO-J 体験版 / oracle / Stacks / staff.sta (.txt) < prev   
UltraCard Stack  |  1996-03-24  |  20KB  |  242 lines

  1. endingSCRP
  2. on openCard
  3.   startAnime
  4. end openCard
  5. on startAnime
  6.   global gStep
  7.   put 0 into gStep
  8.   set the movieFile of mov "cats" to stackPath() & "QT" & pathCh() & "3L_02.mov"
  9.   prepare mov "cats"
  10.   play mov "cats"
  11. end startAnime
  12. #ORA200MB:oracle:Stacks:QT:3L_02.mov
  13. XNAME
  14. catsSCRP
  15. on playStopped
  16.   global gStep
  17.   go stack "preview.sta"
  18. end playStopped
  19. frametimer
  20. frametimer
  21. frametimer
  22. frametimer
  23. frametimerATAIL
  24. CRDHending
  25. BGEXTI
  26. ddata
  27. on closeStack
  28.   emptyCache
  29. end closeStack
  30. on startSprite spList, frameMax, repMax
  31.   global gDebug, gFrameNo, gFrameMax, gSpName, gSpMax, gSpBak, gRepMax, gRepCnt
  32.   stop timer "frameTimer"
  33.   put spList into gSpName
  34.   put frameMax into gFrameMax
  35.   put repMax into gRepMax
  36.   put 1 into gFrameNo
  37.   put 0 into gRepCnt
  38.   put the number of items in spList into gSpMax
  39.   sprite
  40.   start timer "frameTimer"
  41. end startSprite
  42. on sprite
  43.   global gDebug, gFrameNo, gFrameMax, gSpName, gSpMax, gSpBak, gRepMax, gRepCnt
  44.   if gSpName = "" then exit sprite
  45.   lock screen
  46.   repeat with ii = 1 to gSpMax
  47.     put item ii of gSpName into spName
  48.     if spName <> "" then
  49.       put line gFrameNo of fld spName into ss
  50.       put item 1 of ss into spNo
  51.       put item ii of gSpBak into spBak
  52.       if spNo <> "0" and spBak <> ""  then
  53.         hide bmp spBak
  54.       end if
  55.       if spNo <> "0" and spNo <> empty then
  56.         set the loc of bmp spNo to (item 2 to 3 of ss)
  57.         show bmp spNo
  58.         put spNo into item ii of gSpBak
  59.       end if
  60.     end if
  61.   end repeat
  62.   unlock screen
  63. end sprite
  64. on spriteEffect
  65.   global gDebug, gFrameNo, gFrameMax, gSpName, gSpMax, gSpBak, gRepMax, gRepCnt
  66.   if gSpName = emtpy then exit sprite
  67.   lock screen
  68.   repeat with ii = 1 to gSpMax
  69.     put item ii of gSpName into spName
  70.     put line gFrameNo of fld spName into ss
  71.     put item 1 of ss into spNo
  72.     if spNo <> empty then
  73.       put bmp (spName & spNo) into bmp ("sp" & ii)
  74.       set the loc of bmp ("sp" & ii) to (item 2 to 3 of ss)
  75.     else
  76.       put empty into bmp ("sp" & ii)
  77.     end if
  78.   end repeat
  79.   unlock screen with visual effect dissolve in 15 ticks
  80. end spriteEffect
  81. on hideAll bmpName
  82.   put 0 into num
  83.   repeat while existence( bmp (bmpName & (num + 1) ) )
  84.     hide bmp (bmpName & (num + 1) )
  85.     put num + 1 into num
  86.   end repeat
  87. end hideAll
  88. on showAll bmpName
  89.   put 0 into num
  90.   repeat while existence( bmp (bmpName & (num + 1) ) )
  91.     show bmp (bmpName & (num + 1) )
  92.     put num + 1 into num
  93.   end repeat
  94. end showAll
  95. function getBmpNum bmpName
  96.   put 0 into num
  97.   repeat while existence( bmp (bmpName & (num + 1) ) )
  98.     put num + 1 into num
  99.   end repeat
  100.   return num
  101. end getBmpNum
  102. function cardName
  103.   return (the name of card)
  104. end cardName
  105. on showAllCard
  106.   put 2 into num
  107.   put "" into ss
  108.   put Empty into fld "mes"
  109.   repeat while existence( card id num )
  110.     put num & " : " & the name of card id num & RETURN after ss
  111.     put num + 1 into num
  112.   end repeat
  113.   put ss into fld "mes"
  114. end showAllCard
  115. on showBmpName crdName
  116.   put 1 into num
  117.   put 0 into ii
  118.   put empty into ss
  119.   put the number of bmps of card crdName into bMax
  120.   repeat while ii < bMax
  121.     if existence( bmp id num of card crdName ) then
  122.       put num & " : " & the name of bmp id num of card crdName & RETURN after ss
  123.       put ii + 1 into ii
  124.     end if
  125.     put num + 1 into num
  126.   end repeat
  127.   put ss into fld "mes"
  128. end showBmpName
  129. function pathCh
  130.   if the platForm = "Macintosh" then return ":"
  131.   else return "¥"
  132. end pathCh
  133. PFONT
  134. ARIAL
  135. ARIAL NARROW
  136. ARIAL ROUNDED MT BOLD
  137. ATHENSp
  138. AVANT GARDE
  139. B FUTURA BOLD
  140. B GOUDY BOLD
  141. BAUHAUS 93
  142. BI GOUDY BOLDITALIC
  143. BO FUTURA BOLDOBLIQUE
  144. BOOK ANTIQUA
  145. BOOKMAN
  146. BOOKMAN OLD STYLE BOLD
  147. BRAGGADOCIO
  148. BRITANNIC BOLD
  149. BRUSH SCRIPT MT
  150. C FUTURA CONDENSED
  151. CAIRO
  152. CB FUTURA CONDENSEDBOLD
  153. CBO FUTURA CONDBOLDOBLIQUE
  154. CENTURY
  155. CENTURY GOTHIC
  156. CENTURY OLDSTYLE BOLD
  157. CENTURY OLDSTYLE ITALIC
  158. CENTURY OLDSTYLE ROMAN
  159. CENTURY OLDSTYLE SPECIAL BOLD
  160. CENTURY OLDSTYLE SPECIAL ITALIC
  161. CENTURY OLDSTYLE SPECIAL ROMAN
  162. CHICAGO
  163. CO FUTURA CONDENSEDOBLIQUE
  164. COLONNA MT
  165. COURIER
  166. COURIER NEW
  167. CXB FUTURA CONDEXTRABOLD
  168. CXBO FUTURA CONDEXTRABOLDOBLIQU
  169.     DESDEMONA
  170. DOWNWIND
  171. DUBIEL
  172. DUBIELITALIC
  173. FOOTLIGHT MT LIGHT
  174. FUTURA
  175. FUTURA BOOK
  176. GENEVA
  177. GOODCITYMODERN
  178. GOTHIC 720 BOLD
  179. GOTHIC 720 ITALIC
  180. GOTHIC 720 ROMAN
  181. GOTHIC 720 SPECIAL BOLD
  182. GOTHIC 720 SPECIAL ITALIC
  183. GOTHIC 720 SPECIAL ROMAN
  184. GOUDY
  185. GOUDYHUNDRED
  186. H FUTURA HEAVY
  187. H GOUDY HEAVYFACE
  188.     HELVETICA
  189. HI GOUDY HEAVYFACEITALIC
  190. HO FUTURA HEAVYOBLIQUE
  191. I GOUDY ITALIC
  192. IMPACT
  193. KINO MT
  194. L FUTURA LIGHT
  195. LINOSCRIPT
  196. LINOTEXT
  197. LITHOS BOLD
  198. LO FUTURA LIGHTOBLIQUE
  199. LONDONP
  200. LOS ANGELES
  201. MATURA MT SCRIPT CAPITALS
  202. MISTRAL
  203. MOBILE
  204. MONACO
  205. MONOTYPE SORTS
  206. MS LINEDRAW
  207. N HELVETICA NARROW
  208. NEW CENTURY SCHLBK
  209. NEW YORK
  210. O FUTURA BOOKOBLIQUE
  211. O FUTURA OBLIQUE
  212. OSAKA
  213. PALATINO
  214.     PIXIEFONT
  215. PLAYBILL
  216. POLO-SEMISCRIPT
  217. RITZCONDENSED
  218. RITZITALIC
  219.     RITZLASER
  220. RUDELSBERG
  221. SAN FRANCISCO
  222. SILLYCONVALLEY
  223. STENCIL
  224. SYMBOL
  225. TIMES
  226. TIMES NEW ROMAN
  227. TORONTO
  228. TRIBECA
  229. VENICE
  230. VIVALDI
  231. WIDE LATIN
  232.     WINGDINGS
  233. XB FUTURA EXTRABOLD
  234. XB GOUDY EXTRABOLD
  235. XBO FUTURA EXTRABOLDOBLIQUE
  236. ZAPF CHANCERY
  237. ZAPF DINGBATS
  238. ePOP1
  239. (GYOUSHO)KT1
  240. REISHO
  241.  W3IDMO
  242.